xc_map_foreign_pages(), a convenient alternative to xc_map_foreign_batch()
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 7 Sep 2007 10:39:10 +0000 (11:39 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 7 Sep 2007 10:39:10 +0000 (11:39 +0100)
commit05cf544b87c791d183da579b6e9a6af06f2b93b8
treedbdf964f1bf5f2ac789c2986a6430d38c89c5872
parent986fc80c6864d87d9578a2fc696fcc9fd1851a77
xc_map_foreign_pages(), a convenient alternative to xc_map_foreign_batch()

xc_map_foreign_batch() can succeed partially.  It is awkward to use
when you're only interested in complete success.  Provide new
xc_map_foreign_pages() convenience function for that kind of use.
Also convert two obvious calls to use it.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
tools/ioemu/hw/cirrus_vga.c
tools/ioemu/vl.c
tools/libxc/xc_misc.c
tools/libxc/xenctrl.h
tools/xenfb/xenfb.c